package com.freeLearning.boot.course.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.freeLearning.boot.course.model.entity.CourseInfo;
import com.freeLearning.boot.course.model.entity.UserCourse;
import com.freeLearning.boot.course.model.query.ByConsultantIdPageQuery;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserCourseMapper extends BaseMapper<UserCourse> {
    IPage<UserCourse> getByConsultantPage(Page<CourseInfo> page, ByConsultantIdPageQuery queryParams);
}
